/*** 
 * @_______________#########_______________________ 
 * @______________############_____________________ 
 * @______________#############____________________ 
 * @_____________##__###########___________________ 
 * @____________###__######_#####__________________ 
 * @____________###_#######___####_________________ 
 * @___________###__##########_####________________ 
 * @__________####__###########_####_______________ 
 * @________#####___###########__#####_____________ 
 * @_______######___###_########___#####___________ 
 * @_______#####___###___########___######_________ 
 * @______######___###__###########___######_______ 
 * @_____######___####_##############__######______ 
 * @____#######__#####################_#######_____ 
 * @____#######__##############################____ 
 * @___#######__######_#################_#######___ 
 * @___#######__######_######_#########___######___ 
 * @___#######____##__######___######_____######___ 
 * @___#######________######____#####_____#####____ 
 * @____######________#####_____#####_____####_____ 
 * @_____#####________####______#####_____###______ 
 * @______#####______;###________###______#________ 
 * @________##_______####________####______________ 
 * @
 * @Author: ipk518 18163976442@163.com
 * @Date: 2024-11-27 19:34:50
 * @LastEditors: ipk518 121206530@qq.com
 * @LastEditTime: 2025-09-03 16:43:31
 * @FilePath: /etws-sxk2307/src/packetResolver/ddsCmdV1.h
 * @Description: 
 * @************佛祖保佑************
 * @Copyright (c) 2024 by etws@quyujiang, All Rights Reserved. 
 */

#ifndef _DDSCMD_H_
#define _DDSCMD_H_

#include "commHeader.h"

int ddr_callback_0(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_1(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_2(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_3(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_4(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_5(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_6(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_7(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_8(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_9(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_10(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_11(struct cmdDataType* cmd,uint8_t * cmdData);

int ddr_callback_12(struct cmdDataType* cmd,uint8_t * cmdData);
int ddr_callback_13(struct cmdDataType* cmd,uint8_t * cmdData);

extern std::map<int32_t, CallbackCmdFun> ddrCallbackMap;
extern void ddsProtocolAnalysis(struct cmdDataType* cmd,uint8_t * cmdData);
extern void ddrProtocolAnalysis(struct cmdDataType* cmd,uint8_t * cmdData);

#endif